package com.lanhang.mapper;

import com.lanhang.entity.Specification;
import com.lanhang.entity.SpecificationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SpecificationMapper {
    long countByExample(SpecificationExample example);

    int deleteByExample(SpecificationExample example);

    int deleteByPrimaryKey(Integer sid);

    int insert(Specification row);

    int insertSelective(Specification row);

    List<Specification> selectByExample(SpecificationExample example);

    Specification selectByPrimaryKey(Integer sid);

    int updateByExampleSelective(@Param("row") Specification row, @Param("example") SpecificationExample example);

    int updateByExample(@Param("row") Specification row, @Param("example") SpecificationExample example);

    int updateByPrimaryKeySelective(Specification row);

    int updateByPrimaryKey(Specification row);
}